<template>
    <div>      
        <!--<content></content>-->
        <!--这里路由到navbar对应的子界面-->
        <!-- 保证切换时组件是激活状态. -->
        <keep-alive>
            <router-view></router-view>
        </keep-alive>
        <nav-bar></nav-bar>
    </div>
</template>
<script>
    import Header from './Header.vue'

    import NavBar from '../components/NavBar.vue'
    export default{
        data(){
            return {
                
            }
        },
        components:{
            
            NavBar
        }
    }
</script>